package com.earl.gsm.service.impl.match;

import com.earl.gsm.commons.dao.BaseDao;
import com.earl.gsm.commons.service.BaseServiceImpl;
import com.earl.gsm.dao.PlayerInfoDao;
import com.earl.gsm.domain.gsm.match.Player;
import com.earl.gsm.service.PlayerInfoService;
import org.apache.log4j.Logger;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

@Service
@Transactional
public class PlayerInfoServiceImpl extends BaseServiceImpl<Player, Player>
        implements PlayerInfoService {

    private static Logger logger = Logger.getLogger(PlayerInfoServiceImpl.class);

    @Resource
    private PlayerInfoDao dao;

    @Override
    protected BaseDao<Player> getDao() {
        return dao;
    }

}
